home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIFER__
/
PROTO
/
U
/
LIFE_INP.C
< prev
next >
Wrap
Text File
|
1991-07-27
|
3KB
|
114 lines
/* LIFE_INPUT */
/* File name: LIFE_INPUT */
/* Function: Handle a modal dialog */
/* History: 7/27/91 Original by Prototyper 3.0 */
#include "PCommonLife.h" /* Common */
#include "Common_Life.h" /* Common */
#include "PUtils_Life.h" /* General Utilities */
#include "Utils_Life.h" /* General Utilities */
#include "LIFE_INPUT.h" /* This file */
/* ======================================================= */
/* Routine: D_Init_LIFE_INPUT */
/* Purpose: This routine is called while when the program is first run. */
/* This is used for onetime initialization. */
void D_Init_LIFE_INPUT()
{
} /* End of procedure */
/* ======================================================= */
/* Routine: D_Filter_LIFE_INPUT */
/* Purpose: This routine is called while inside of the Modal Dialog filter */
/* theDialog is the dialog(alert) pointer */
/* theEvent is the event that we are to see if we should filter */
/* itemHit is the item we set if we handle the event ourselves */
Boolean D_Filter_LIFE_INPUT(theDialog, theEvent, itemHit)
DialogPtr theDialog;
EventRecord *theEvent;
short *itemHit;
{
Boolean Filter_LIFE_INPUT;
Filter_LIFE_INPUT = FALSE; /* Let the modal routine handle it */
return(Filter_LIFE_INPUT);
} /* End of function */
/* ======================================================= */
/* Routine: D_Refresh_LIFE_INPUT */
/* Purpose: Refresh the modal dialog */
void D_Refresh_LIFE_INPUT(theDialog)
DialogPtr theDialog;
{
} /* End of procedure */
/* ======================================================= */
/* Routine: D_Setup_LIFE_INPUT */
/* Purpose: Setup the modal dialog */
void D_Setup_LIFE_INPUT(theDialog)
DialogPtr theDialog;
{
} /* End of procedure */
/* ======================================================= */
/* Routine: D_Hit_LIFE_INPUT */
/* Purpose: Hit in the modal dialog */
void D_Hit_LIFE_INPUT( theDialog, itemHit, ExitDialog)
DialogPtr theDialog;
short itemHit;
Boolean *ExitDialog;
{
if (itemHit ==Res_Dlg_NEXT) /* Handle the Button being pressed */
{
}
if (itemHit ==Res_Dlg_Cancel) /* Handle the Button being pressed */
{
}
if (itemHit ==Res_Dlg_OK2) /* Handle the Button being pressed */
{
}
} /* End of procedure */
/* ======================================================= */
/* Routine: D_Exit_LIFE_INPUT */
/* Purpose: Exit the modal dialog */
void D_Exit_LIFE_INPUT(theDialog)
DialogPtr theDialog;
{
} /* End of procedure */
/* ======================================================= */